package priv.dajie.tzzq.model;

import priv.dajie.tzzq.bot.model.BuyState;
import priv.dajie.tzzq.spider.model.Platform;

import java.math.BigDecimal;

public class BuyGoods {
    private String steamName;
    private BigDecimal price;
    private Platform platform;
    private String buyId;
    private BuyState buyState;
    private BigDecimal sellPrice;

    public BuyGoods(String steamName, BigDecimal price, Platform platform, String buyId, BigDecimal sellPrice) {
        this.steamName = steamName;
        this.price = price;
        this.platform = platform;
        this.buyId = buyId;
        this.sellPrice = sellPrice;
    }

    public BuyGoods(String steamName, BigDecimal price, Platform platform, String buyId, BuyState buyState, BigDecimal sellPrice) {
        this.steamName = steamName;
        this.price = price;
        this.platform = platform;
        this.buyId = buyId;
        this.buyState = buyState;
        this.sellPrice = sellPrice;
    }

    public String getSteamName() {
        return steamName;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public Platform getPlatform() {
        return platform;
    }

    public String getBuyId() {
        return buyId;
    }

    public BigDecimal getSellPrice() {
        return sellPrice;
    }

    public BuyState getBuyState() {
        return buyState;
    }

    @Override
    public String toString() {
        return "BuyGoods{" +
                "steamName='" + steamName + '\'' +
                ", price=" + price +
                ", platform=" + platform +
                ", buyID='" + buyId + '\'' +
                ", buyState=" + buyState +
                ", sellPrice=" + sellPrice +
                '}';
    }
}
